Don't set up im stuff if the widget is not realized.
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 23 Jan 2009 06:04:05 +0000 (06:04 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 23 Jan 2009 06:04:05 +0000 (06:04 +0000)
commit280eeb02e1a3c09737b1c370c7302efe65dd325b
tree20d5cb034fc6e7f6a12819a3544aa8b24933a394
parenta220373a55bcd5ee15fa553770042e932dcaa382
Don't set up im stuff if the widget is not realized.

        * gtk/gtktextview.c: Don't set up im stuff if the widget
        is not realized.

        * gtk/gtkimmodule.c: Assert that we have a window.

svn path=/trunk/; revision=22193
ChangeLog
gtk/gtkimmodule.c
gtk/gtktextview.c